#! /usr/bin/octave -qf
1;

x = [0,1,2,3,4,5,6,7,8,9];
lineal = [0,1,2,3,4,5,6,7,8,9];
real_500 =  [0, 1, 2.659546, 3.495491, 4.310872, 4.304016, 4.002983, 3.764622, 3.361059,  3.021681];
real_1500 = [0, 1, 3.209027, 5.612003, 7.426766, 8.418840, 8.790243, 8.813841, 8.796981,  8.037669];
__gnuplot_set__ term gif;
__gnuplot_set__ output 'speedup_promedio.gif';
__gnuplot_set__ title 'speedup';

__gnuplot_set__ xlabel "cantidad de procesadores";
__gnuplot_set__ ylabel "speedup promedio";


plot(x, lineal, ";spedup lineal.;", x , real_500, "3;speedup A.;", x, real_1500, "4;speedup B.;");





